package www.ld.com.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import www.ld.com.dictionary.UseStatusEnum;
import www.ld.com.domain.post.pojo.PostPO;

import java.util.List;

public interface PostMapper extends BaseMapper<PostPO> {
    Boolean existPost(@Param("postId") String postId);

    PostPO selectOnePostByIdAndStatus(@Param("postIds") List<String> postIds,@Param("status")  UseStatusEnum status);
}
